Fix distcheck differently
authorMatthias Clasen <mclasen@redhat.com>
Tue, 16 Dec 2014 03:19:26 +0000 (22:19 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 17 Dec 2014 11:14:13 +0000 (06:14 -0500)
The previous fix fixed distcheck, but broke distclean.

docs/tools/Makefile.am

index 3953d361dff79d34a1171e0722ebc593d362a9b1..6a6d70f496594e2b7cf46ef544f2975fba40e447 100644 (file)
@@ -1,5 +1,3 @@
-AUTOMAKE_OPTIONS = subdir-objects
-
 include $(top_srcdir)/Makefile.decl
 
 AM_CPPFLAGS = \
@@ -17,6 +15,7 @@ DEPS = \
 LDADDS = \
        $(top_builddir)/gtk/libgtk-3.la \
        $(top_builddir)/gdk/libgdk-3.la \
+       $(top_builddir)/tests/gtkgears.o \
        $(GTK_DEP_LIBS)                 \
        $(GDK_DEP_LIBS)                 \
        -lm
@@ -28,14 +27,12 @@ endif
 
 doc_shooter_DEPENDENCIES = $(DEPS)
 doc_shooter_LDADD = $(LDADDS)
-doc_shooter_SOURCES  \
+doc_shooter_SOURCES =  \
        shadow.c        \
        shadow.h        \
        shooter.c       \
        widgets.c       \
-       widgets.h       \
-       ../../tests/gtkgears.c \
-       ../../tests/gtkgears.h
+       widgets.h
 
 clean-local:
        for file in *.png; do \